home *** CD-ROM | disk | FTP | other *** search
/ Acorn User: China / Acorn User China CD-ROM (UK) (Disc B) / Acorn User China CD-ROM (UK) (Disc B).bin / BARNET / ARMLINUX / MAIL / 9807 / text0060.txt < prev    next >
Encoding:
Text File  |  1998-08-03  |  1.1 KB  |  25 lines

  1. > Since the kernel is complied differently for the ARM2/ARM3 machines, the
  2. > use of Alan's '__unaligned' proposal seems to be the best solution *if*
  3. > you need to do it.  The only time that you *need* to do it is if you're
  4. > running something like AX.25 or IPX on one of these machines, which I
  5. > think is highly unlikely.
  6.  
  7. Its basically a way of saying "Go away here is how you handle it" to whoever
  8. is strange enough to want to fix the ARM2/3 code
  9.  
  10. > I feel that although it may improve performance a little to do this, but
  11. > userland should not be so dependent on the alignment of structures.  If
  12. > it is, then it is bad programming practice, and the code itself should
  13. > be fixed.  After all, userland doesn't access hardware - that's the kernel's
  14. > job.
  15.  
  16. In pretty much every other platform we don't fix up user space alignment
  17. traps. In fact we do the reverse - we emulate things like byte instructions
  18. the later Alpha CPU's have on the old Alpha or so it seems from the code. 
  19. Encourage people to write to the faster cpus.
  20.  
  21. Alan
  22. unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
  23.  
  24.